<?php

namespace App\Admin\Controllers;

use App\Models\Config;

use Encore\Admin\Controllers\AdminController;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Encore\Admin\Show;
use Encore\Admin\Layout\Content;

use App\Admin\Forms\PointsConfig;

class ConfigController extends AdminController
{
    public function pointsConfig(Content $content)
    {
        return $content
            ->title('网站设置')
            ->body(new PointsConfig());
    }
}
